package com.shinewind.pojo.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用于返回、更新轮播图数据")
public class NewsVo implements Serializable {
    @ApiModelProperty(value = "模型id")
    private String id;
    @ApiModelProperty(value = "模型标题")
    private String title;
    @ApiModelProperty(value = "模型图片地址")
    private String src;
    @ApiModelProperty(value = "模型跳转链接")
    private String href;
    @ApiModelProperty(value = "是否是模型")
    private String isModel;
}